
README

Replication files for: "Resource rents, coercion, and local 
development: Evidence from post-apartheid South Africa"

by Paulo Bastos (World Bank) and Nicolas Bottan (Cornell University)


The figures and table were generated using STATA 15.1 SE.


Codes for community-level estimates (WD_comlevel_tables.do and 
WD_comlevel_figures.do) use data uploaded on the 1996 and 2011
South African Census community profiles (in the data directory).

To run individual-level analysis (WD_indlevel_tables.do) the user 
must download the original data files. The instructions for
downloading the data and their location in the directory structure
to run the dofiles are available in the respective data-source
README files. These are located in the directory: data/original/
where each data has its corresponding folder.


Output tables are stored in results/tables; while figures are stored
in results/figures.


Required user-written STATA commands (available via ssc): 
outreg2, bspline, vincenty, reghdfe

